home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2457 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.0 KB  |  29 lines

  1. Newsgroups: comp.lang.c++
  2. Path: newshub.ccs.yorku.ca!ists!news
  3. From: Ran Gilas <gilad>
  4. Subject: Child processes from a windows program using borland c++
  5. Content-Type: text/plain; charset=us-ascii
  6. Message-ID: <1996Jan17.220209.17066@newshub.ists.ca>
  7. Sender: news@newshub.ists.ca
  8. Nntp-Posting-Host: isl.ists.ca
  9. Content-Transfer-Encoding: 7bit
  10. Organization: Instrument Services Laboratory - ISTS
  11. Mime-Version: 1.0
  12. Date: Wed, 17 Jan 1996 22:02:09 GMT
  13. X-Mailer: Mozilla 1.12 (X11; I; SunOS 4.1.3 sun4c)
  14. X-Url: news: comp.lang.c++
  15.  
  16. The problem:
  17. I want to execute a child process from a Windows application (devepoled with
  18. Borland C++ 4.5). The child process is the execution of a DOS program).
  19. - execl() is launching the child process (sometimes under other windows - I
  20. have   to use ALT+TAB to bring the child process foreground).
  21.   ...but when I am exiting the child process my Windows application is no
  22. longer   running 
  23. - system() doesn't work. I am getting just the DOS prompt. EXITing I am back in
  24. my  Windows application.
  25.  
  26.  
  27. Does anybody know the solution ?
  28.  
  29.